package com.tengroup.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("exampaper")
public class ExampaperEntity implements Serializable {
      @TableId(type = IdType.AUTO)
      @JsonSerialize(using = ToStringSerializer.class)
      private int id;
      private int ruleid;
      private String rulename;
      private LocalDateTime createtime;
      private int createby;
      private int questioncount;
      private int grade;
      private String name;
}
